package com.naiterui.ehp.bs.emr.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.naiterui.ehp.bs.emr.vo.patient.SignInfoVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
@ApiModel(value = "PatientOrDoctorCaseVO", description = "医生填写病历或患者发送病历")
public class PatientOrDoctorCaseVO implements Serializable {

    public static final int CASE_TYPE_NO = -1;
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "医生病历ID")
    private String recoreId;

    @ApiModelProperty(value = "病历类型,4:医生病历,3:患者病历,7:医生带处方病历,8:线上诊室病历,-1:没有病历")
    @JsonInclude(Include.NON_NULL)
    private Integer caseType;// 病历类型

    @ApiModelProperty(value = "医生病历(caseType=4或7或8)")
    @JsonInclude(Include.NON_NULL)
    private DrCaseVO drCaseVO;// 医生病历

    @ApiModelProperty(value = "签名信息")
    @JsonInclude(Include.NON_NULL)
    private SignInfoVO signInfo;

    @ApiModelProperty(value = "患者病历(caseType=3)")
    @JsonInclude(Include.NON_NULL)
    private RecordPaitentCaseVO ptCaseVO;

    /**
     * 是否显示作废按钮：0, 显示； 1， 不显示；
     */
    @ApiModelProperty(value = "是否显示作废按钮：0, 显示； 1， 不显示；")
    private Integer showInvalidBtn;


}
